import axios from './index'

// 获取用户信息
export const userInfo = () => {
  return {
    code: 200,
    data: {
      menuList: {
        home: true,
        about: true,
        echart: true
      },
      funList: {
        edit_button: true
      }
    }
  }
}

// 获取用户列表
export const getUserList = () => {
  return axios.request({
    url: '/back/generalUsers/selectGeneralUserList?num=1&size=10',
    method: 'get'
  })
}
